/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.FuncRule_DAO;
import DTO.FuncRule_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class FuncRule_BUS {
    
    public static String Get_FuncID() throws SQLException{
        return FuncRule_DAO.Get_FuncID();
    }
    public static ArrayList<FuncRule_DTO> GetALL(){
        return FuncRule_DAO.GetALL();
    }
    public static boolean Insert(FuncRule_DTO FuncRule){
        return FuncRule_DAO.Insert(FuncRule);
    }
    public static boolean Update(FuncRule_DTO FuncRule){
        return FuncRule_DAO.Update(FuncRule);
    }   
    public static boolean Delete(String FuncID){
        return FuncRule_DAO.Delete(FuncID);
    }
}
